package com.wuxiaofan.repository;

import com.wuxiaofan.entity.model.DepartmentMongo;
import java.util.List;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @author wuxiaofan
 * @date 2021/11/2 8:52 上午
 */
@Repository
public interface DepartmentRepository extends MongoRepository<DepartmentMongo,String> {

    List<DepartmentMongo> findByHoscode(String hoscode);


}
